package com.mapper;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.pojo.OUser;
import com.pojo.Sstatis;
import com.pojo.Statis;
import com.pojo.Wtd;
import com.pojo.tradeInfo;
import com.pojo.trecord;
public interface UsersMapper {
	public OUser getUserByUsernameAndPassword(HashMap<String, Object> users);
	//查询明细()
   public OUser selectmember(String uid);
 
   
   public Wtd selectcgmx(Map<String, Object> param);


   
   
   
   
   public List<Statis> selectgupiao();//k线图

	public List<Statis> selecttime();

	public void insertStatis(Map list);

	public  List<Wtd> selectindex();

	public List<tradeInfo> selectbypt();

	public int selectcount();

	public List<trecord> selectsell(String userid);

	public List<trecord> selectbuy(String userID);

	public List<trecord> selectmingxi(String userID);
	
	public List<Sstatis> selectgupiao2();//实时k线图
	
	public List<Sstatis> selecttime2();//实时k线图的时间
	
	public Sstatis selectopenprice();
	
	public void addUsers(Map<String, Object> param);
	public int selectanzhi(String userID);
	
	//12.8
	public int selectip(String userID);
	//hzp
	public String selectshouye(String id);
	public String selecttitle(String id);
	public String selectshijian(String id);
	
	//1218
		public void updatepwd(Map<String, Object> param);
		//1.10hzp
		public void excerefor();
		public void excerefor2();
		//查询售出历史分页
		public List selectselllist(HashMap mp);
		//查询购买历史分页
		public List searchquesbuy(HashMap mp);
		//查询成交历史分页
		public List selectcjmingxi(HashMap mp);
		

}
